<!DOCTYPE html>
<html lang="en">
<head>
  <title>Ruby on Rails <%= Rails.version %></title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">

  <link rel="icon" href="/icon.png" type="image/png">
  <link rel="apple-touch-icon" href="/icon.png" sizes="512x512">

  <style type="text/css">
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      align-items: center;
      background-color: #F0E7E9;
      background-image: url();
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
      color: #261B23;
      display: flex;
      flex-direction: column;
      font-family: Sans-Serif;
      font-size: calc(0.9em + 0.5vw);
      font-style: normal;
      font-weight: 400;
      justify-content: center;
      line-height: 1.25;
      min-height: 100vh;
      text-align: center;
    }

    @media (prefers-color-scheme: dark) {
      body {
        background-color: #1a1a1a;
        background-image: url();
        color: #e0e0e0;
      }
    }

    nav {
      font-size: 0;
      height: 20vw;
      line-height: 0;
      max-height: 280px;
      max-width: 280px;
      min-height: 86px;
      min-width: 86px;
      width: 20vw;
    }

    nav a {
      background: #D30001;
      border-radius: 50%;
      display: flex;
      transition: background 0.25s cubic-bezier(0.33, 1, 0.68, 1);
      filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
    }

    nav a:hover {
      background: #261B23;
    }

    @media (prefers-color-scheme: dark) {
      nav a {
        background: #D30001;
        filter: drop-shadow(0 20px 13px rgb(255 255 255 / 0.03)) drop-shadow(0 8px 5px rgb(255 255 255 / 0.08));
      }
    }

    nav a img {
      height: auto;
      max-width: 100%;
      width: 100%;
      cursor: pointer;
      border-radius: 50%;
    }

    ul {
      bottom: 0;
      left: 0;
      list-style: none;
      margin: 0 2rem 2rem 2rem;
      position: absolute;
      right: 0;
    }
  </style>
</head>

<body>
  <nav>
    <a href="https://rubyonrails.org" target="_blank">
      <img alt="Ruby on Rails Logo" src="" />
    </a>
  </nav>

  <ul>
    <li><strong>Rails version:</strong> <%= Rails.version %></li>
    <li><strong>Rack version:</strong> <%= Rack.release %></li>
    <li><strong>Ruby version:</strong> <%= RUBY_DESCRIPTION %></li>
  </ul>
</body>

</html>
